/*
 * 作者: junmu
 * 时间: 2025-07-22
 */
package com.hzbc.faceattendance.config;

import com.hzbc.faceattendance.model.SystemConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WechatConfig {

    @Autowired
    SystemConfig systemConfig;



    public String getToken() {
        return systemConfig.getWechatAccessToken();
    }


    public String getAppId() {
        return systemConfig.getWechatAppId();
    }

    public String getAppSecret() {
        return systemConfig.getWechatAppSecret();
    }
}